Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[config] Call hostname service to config hostname #154

Merged
merged 2 commits into from
Nov 23, 2017

Conversation

taoyl-ms
Copy link
Contributor

No description provided.

@taoyl-ms taoyl-ms merged commit 0762204 into sonic-net:master Nov 23, 2017
@stcheng stcheng added the Bug label Nov 27, 2017
vdahiya12 pushed a commit to vdahiya12/sonic-utilities that referenced this pull request Jul 23, 2021
…#154)

- Refactor psud such that the `run()` method does not contain an infinite loop, thus allowing us to unit test it
- Refactor mock_platform.py such that it inherits from sonic-platform-common in order to ensure it is aligned with the current API definitions (this introduces a test-time dependency on the sonic-platform-common package)
- Eliminate the need to check for a `PSUD_UNIT_TESTING` environment variable in daemon code
- Increase overall unit test unit test coverage from 78% to 97%
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
 Update transceiver info DB key names (sonic-net#146)
[Multiasic]: Provide namespace support for ipNetToMediaPhysAddress (sonic-net#129)
[LLDP]: Modify OID index of LLDPRemTableUpdater MIB (sonic-net#155)
[Namespace]: Simplify sync_d functions to use higher order (sonic-net#154)
[Namespace]: Fix interface counters in RFC 1213 (sonic-net#145)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
When build python3 xcvrd, it tries to do basic check which will import this y_cable.py. However, not all platform supports python3 API now, so it could cause an issue when importing sonic_platform.platform

We skip the ImportError here to make the builder happy. And this is safe because:
- If any python package is not available, there will be exception when use it
- Vendors know their platform API version, they are responsible to use correct python version when importing this file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants